package cn.itcast.service.impl;

import cn.itcast.dao.ReportBusinessDao;
import cn.itcast.service.ReportBusinessService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
public class ReportBusinessServiceImpl implements ReportBusinessService {

    @Autowired
    private ReportBusinessDao reportBusinessDao;

    @Override
    public Map<String, Object> reportTodayNewMember() {
        return reportBusinessDao.reportTodayNewMember();
    }

    @Override
    public Map<String, Object> reportThisWeekNewMember() {
        return reportBusinessDao.reportThisWeekNewMember();
    }

    @Override
    public Map<String, Object> reportThisMonthNewMember() {
        return reportBusinessDao.reportThisMonthNewMember();
    }

    @Override
    public Map<String, Object> reportTotalMember() {
        return reportBusinessDao.reportTotalMember();
    }

    @Override
    public Map<String, Object> reportTodayOrderNumber() {
        return reportBusinessDao.reportTodayOrderNumber();
    }

    @Override
    public Map<String, Object> reportTodayVisitsNumber() {
        return reportBusinessDao.reportTodayVisitsNumber();
    }

    @Override
    public Map<String, Object> reportThisWeekOrderNumber() {
        return reportBusinessDao.reportThisWeekOrderNumber();
    }

    @Override
    public Map<String, Object> reportThisWeekVisitsNumber() {
        return reportBusinessDao.reportThisWeekVisitsNumber();
    }

    @Override
    public Map<String, Object> reportThisMonthOrderNumber() {
        return reportBusinessDao.reportThisMonthOrderNumber();
    }

    @Override
    public Map<String, Object> reportThisMonthVisitsNumber() {
        return reportBusinessDao.reportThisMonthVisitsNumber();
    }

    @Override
    public List<Map<String, Object>> reportHotSetmeal() {
        return reportBusinessDao.reportHotSetmeal();
    }


}
